package com.shisfish.library.Impl;

import java.util.List;
import java.util.Map;

import org.springframework.context.ApplicationContext;

import com.shisfish.library.Inter.ILendRemindInter;
import com.shisfish.library.Model.LendRemind;
import com.shisfish.library.Utils.Global.GetACXmlUtils;

public class LendRemindImpl implements ILendRemindInter {

	private ApplicationContext ac = GetACXmlUtils.getACXml();
	private ILendRemindInter mapper = (ILendRemindInter) ac.getBean("lendRemindMapper");
	
	@Override
	public int insertOne(LendRemind t) {
		// TODO Auto-generated method stub
		return mapper.insertOne(t);
	}

	@Override
	public int insertAll(List<LendRemind> list) {
		// TODO Auto-generated method stub
		return mapper.insertAll(list);
	}

	@Override
	public int updateOne(LendRemind t) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateAll(List<LendRemind> list) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<LendRemind> selectById(int id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<LendRemind> selectByKey(String key) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int countAll() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<LendRemind> selectAll() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int deleteOneById(int id) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteAllById(List<?> ids) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteOneByKey(String key) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteAllByKey(List<?> keys) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteAll() {
		// TODO Auto-generated method stub
		return mapper.deleteAll();
	}

	@Override
	public List<LendRemind> selectByEMBC(String employee, String barCode) {
		// TODO Auto-generated method stub
		return mapper.selectByEMBC(employee, barCode);
	}

	@Override
	public List<LendRemind> isRemind(int type) {
		// TODO Auto-generated method stub
		return mapper.isRemind(type);
	}

	@Override
	public List<Map<String, Object>> selectByStatus(int type) {
		// TODO Auto-generated method stub
		return mapper.selectByStatus(type);
	}

}
